package edu.lingnan.lingnanblog.dao;


import edu.lingnan.lingnanblog.entity.Link;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface LinkDao {
    public int add(Link link);
    public int update(Link link);
    public List<Link> list(Map<String, Object> map);
    public Long getTotal(Map<String, Object> map);
    public Integer delete(Integer id);
}

